package com.ysd.lis.entity.samsto;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 冰箱表(SamstoFridge)表实体类
 *
 * @author leiming
 * @since 2024-10-26 14:12:10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("SAMSTO_FRIDGE")
@SuppressWarnings("serial")
public class SamstoFridge extends Model<SamstoFridge> {
    //ID
    private String id;
    //编号
    private String boxCode;
    //条码号
    private String boxBarcode;
    //冰箱型号
    private String frimodId;
    //仓库
    private String storageId;
    //架层
    private String layerNum;
    //冷藏温度
    private String frigTemp;
    //冷冻温度
    private String freezeTemp;
    //使用标本盒类型范围
    private String boxTypesRange;
    //位置排序
    private String seq;
    //状态
    private Integer status;
    //机构
    private String orgId;
    //所属科室
    private String deptName;
    //删除标记
    private Integer delFlag;
    //创建人
    private String creator;
    //创建时间
    private Date createTime;
    //修改人
    private String editor;
    //修改时间
    private Date editTime;
    //删除时间
    private Date delTime;

    @TableField(exist = false)
    private List<SamstoFridgeLayer> layerList;

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
    }

